net/http.transferReader.StatusCode (field)
6 uses
net/http (current package)
transfer.go#L438: StatusCode int
transfer.go#L494: t.StatusCode = rr.StatusCode
transfer.go#L509: t.StatusCode = 200
transfer.go#L525: realLength, err := fixLength(isResponse, t.StatusCode, t.RequestMethod, t.Header, t.Chunked)
transfer.go#L550: if realLength == -1 && !t.Chunked && bodyAllowedForStatus(t.StatusCode) {
transfer.go#L560: if isResponse && (noResponseBodyExpected(t.RequestMethod) || !bodyAllowedForStatus(t.StatusCode)) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |